package cn.com.jcoo.example;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Inherited
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(SimpleServiceRegister.class)
public @interface EnableSimpleService {

    String[] basePackages() default {};

    Class<?>[] basePackageClasses() default {};

    Class<?>[] defaultConfiguration() default {};

    /**
     * List of classes annotated with @SimpleService. If not empty, disables classpath scanning.
     * 
     * @return array of SimpleService classes
     */
    Class<?>[] clients() default {};

}
